package com.zhongwang.mms.module.jiaGongStorage.dao;

import com.zhongwang.mms.gen.entity.HInventory;
import com.zhongwang.mms.gen.entity.POrder;
import com.zhongwang.mms.gen.entity.POrderExample;
import com.zhongwang.mms.gen.entity.TWarehouseInfo;
import com.zhongwang.mms.module.jiaGongStorage.model.JStorage;
import com.zhongwang.mms.module.jiaGongStorage.model.JStorageDetail;
import com.zhongwang.mms.module.jiaGongStorage.model.JStorageInventory;
import com.zhongwang.mms.module.purchase.model.POrderModel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StorageOutDao {

    List<JStorageInventory> findInventoryListByOut(JStorageInventory param);

    JStorageInventory findByPrimaryKey(Integer ityId);

    int updatePInventoryNumPrimaryKey(JStorageInventory changeNum);

    int findPRKOrderCodeCount();

    String findLastPRKOrderCode();

    List<JStorageInventory> findInventoryListByIds(String ityIds);

    JStorageInventory getPInventoryByPK(Integer ityId);
}